//
//  YLUserMgr.h
//  DoulinClient
//
//  Created by Apple on 17/3/25.
//  Copyright © 2017年 Apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YLUserInfo.h"

@interface YLUserMgr : NSObject

/** 得到用户信息 */
+ (YLUserInfo *)fetchUser;
/** 存储登录信息 */
+ (void)saveUser:(YLUserInfo *)user;
/** 清空登录信息 */
+ (void)deleteUser;

/** 是否登录 */
+ (BOOL)isLogin;

+ (NSString *)getUserID;
+ (NSString *)getUserName;
+ (NSString *)getenterpriseID;
+ (NSString *)getEnterpriseName;

@end
